package com.objects;

import java.util.List;

public class Seat {
	private String seatID;
	private String seatCode;
	private String employeeID;
	private String name;
	private String firstName;
	private String lastName;
	private List<Project> projects;
	private String seatType;
	private String quadrant;
	private String phoneLocalNumber;
	private List<SeatMap> seatMap;
	
	public Seat(){}
	
	public Seat(String seatID, String seatCode, String employeeID, String name,
			String firstName, String lastName, List<Project> projects,
			String seatType, String phoneLocalNumber, List<SeatMap> seatMap, String quadrant) {
		super();
		this.seatID = seatID;
		this.seatCode = seatCode;
		this.employeeID = employeeID;
		this.name = name;
		this.firstName = firstName;
		this.lastName = lastName;
		this.projects = projects;
		this.seatType = seatType;
		this.phoneLocalNumber = phoneLocalNumber;
		this.seatMap = seatMap;
		this.quadrant = quadrant;
	}
	
	
	
	public String getSeatID() {
		return seatID;
	}
	public void setSeatID(String seatID) {
		this.seatID = seatID;
	}
	public String getSeatCode() {
		return seatCode;
	}
	public void setSeatCode(String seatCode) {
		this.seatCode = seatCode;
	}
	public String getEmployeeID() {
		return employeeID;
	}
	public void setEmployeeID(String employeeID) {
		this.employeeID = employeeID;
	}
	public String getName() {
		return name;
	}
	
	public synchronized void setName() {
		this.name = getLastName()+  ", " + getFirstName() ;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public List<Project> getProjects() {
		return projects;
	}
	public void setProjects(List<Project> projects) {
		this.projects = projects;
	}
	public String getSeatType() {
		return seatType;
	}
	public void setSeatType(String seatType) {
		this.seatType = seatType;
	}
	public String getQuadrant() {
		return quadrant;
	}
	public void setQuadrant(String quadrant) {
		this.quadrant = quadrant;
	}
	public String getPhoneLocalNumber() {
		return phoneLocalNumber;
	}
	public void setPhoneLocalNumber(String phoneLocalNumber) {
		this.phoneLocalNumber = phoneLocalNumber;
	}
	public List<SeatMap> getSeatMap() {
		return seatMap;
	}
	public void setSeatMap(List<SeatMap> seatMap) {
		this.seatMap = seatMap;
	}
}